
import React from 'react';

import ReactDom from 'react-dom';

import {getAppPageConfig, handleHash} from 'src/hrpub/common/utils/utils';

import HomePage from '../container';
import {createPage} from 'nc-lightapp-front';

let appConfig = getAppPageConfig()
// let appConfig = {
//     appcode:'60091070',
//     pagecode:'60091070p',
// }
// ReactDom.render(<HomePage appConfig = {appConfig}/>, document.getElementById('app'));


const HomePageWithModel = handleHash('20190820qiaoshic','c=60091070&p=60091070p')(createPage({
     billinfo: [
    {
        billtype: 'grid',
        pagecode: getAppPageConfig().appcode,
        bodycode: 'reg_item_list'
    }]
})(HomePage))
ReactDom.render(<HomePageWithModel appConfig = {appConfig}/>, document.getElementById('app'));